package com.qigao.mall.api;

import com.github.pagehelper.PageInfo;
import com.qigao.mall.commons.dto.SettleDetailResultDto;
import com.qigao.mall.commons.dto.SettleQueryDto;
import com.qigao.mall.commons.dto.SettleReportResultDto;
import com.qigao.mall.commons.enums.Result;
import com.qigao.mall.jdbc.model.TbSettleDetail;

import java.util.List;

/**
 * @author luiz
 * @Title: com.qigao.mall.api
 * @ProjectName market-parent
 * @date 2020-06-2020-06-19 11:11
 * @Description:
 */
public interface SettleDetailService {
    void insertBatch(List<TbSettleDetail> tbSettleDetails);

    void insert(TbSettleDetail tbSettleDetail);

    void saveBatch(List<TbSettleDetail> tbSettleDetails);

    Result<PageInfo<SettleDetailResultDto>> listPage(SettleQueryDto settleQueryDto);

    List<SettleDetailResultDto> findOrderResultByCond(SettleQueryDto settleQueryDto);

    Result<SettleReportResultDto> settleReport(SettleQueryDto settleQueryDto);
}
